package org.zanpu.timer.SpringRest.interf;

import org.json.JSONObject;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * REST接口
 * Created by MD on 2016/12/28.
 */
@Service
public interface HttpRestInf {
    String get(String url) throws Exception;

    String get(String url,Map<String,String> uriVariables) throws Exception;

    String post(String url,JSONObject variables) throws Exception;
}
